﻿<!--/*******底部引入js*******/-->
<!--/* Mainly scripts */-->
<script th:src="@{/resources/vendor/tgLayui/lay/dest/layui.all.js}" charset="utf-8"></script>
<script th:src="@{/resources/js/common/tg_common.js}" charset="utf-8"></script>
<script th:inline="javascript">
    /*<![CDATA[*/
    var BASE_URL = /*[[@{/}]]*/;
    layui.use('util', function(){
        var util = layui.util;
        //使用内部工具组件
        util.fixbar();
      });
    //锁定屏幕
    var lockUrl = /*[[@{/admin/c/index/lock.gsp}]]*/'url';
    var checkLockUrl = /*[[@{/admin/c/index/checkLock.gsp}]]*/'url';
    var unlockUrl = /*[[@{/admin/c/index/unlock.gsp}]]*/'url';
    var logoutUrl = /*[[@{/logout}]]*/'url';
    function tg_lockScreen() {
        tg_lock(lockUrl, logoutUrl, unlockUrl);
    }
    //加载完成后执行
    $(function() {
        //检查是否已锁定屏幕
        tg_checkLock(checkLockUrl, logoutUrl, unlockUrl);
    });
    /*]]>*/
</script>